package com.eastone.user.serverapi.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yjx.framework.util.JsonUtil;

/**
 * 
 * @author lxfei
 *
 */
@RequestMapping("/error")
@Controller
public class ErrorCtl {
	public static Logger log = Logger.getLogger(ErrorCtl.class);

	@RequestMapping(value = "/error")
	public @ResponseBody Object error(String callback) {
		log.info("error");
		return JsonUtil.getResultJsonByIdent("common.req.param.error");
	}

}
